﻿//
// Created by QU on 24-9-28.
//

#ifndef LOGIC_NODE_H
#define LOGIC_NODE_H
#include <memory>

#include "server/server/Session.h"
#include "node/Node.h"

class Session;
class Node;

class LogicNode
{
public:
    LogicNode(std::shared_ptr<Session> session, std::shared_ptr<Node> node);
    ~LogicNode() = default;

    auto getSession() -> std::shared_ptr<Session>;
    auto getNode() -> std::shared_ptr<Node>;

private:
    std::shared_ptr<Session> m_session_p;
    std::shared_ptr<Node> m_node_p;
};


#endif //LOGIC_NODE_H
